package com.uhu.sys.dto.res;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author liujunjie
 * @description 企业配置数据
 * @create 2023-11-22 15:32
 **/
@ApiModel("员工分页返回DTO")
@Data
public class StaffListResDTO implements Serializable {
    private static final long serialVersionUID = -8011157942008053960L;
    @ApiModelProperty("员工ID")
    @TableId(value = "staff_id", type = IdType.AUTO)
    private Long staffId;

    @ApiModelProperty("员工名称")
    private String staffName;

    @ApiModelProperty("员工工号")
    private String staffCode;

    @ApiModelProperty("员工性别。0-未知，1-男，2-女")
    private Integer staffSex;

    @ApiModelProperty("员工手机号码")
    private String staffMobile;

    @ApiModelProperty("员工邮箱")
    private String staffEmail;

    @ApiModelProperty("员工状态。0-在职，1-离职")
    private Integer staffStatus;

    @ApiModelProperty("创建人")
    private String createBy;

    @ApiModelProperty("创建时间")
    private LocalDateTime dateCreated;

    @ApiModelProperty("更新人")
    private String updateBy;

    @ApiModelProperty("修改时间")
    private LocalDateTime lastUpdated;
}
